<template>
	<view>
		<view class="line">
			<view class="item">
				<image src="../../static/pic01.jpg"></image>
				<view style="font-size: 25px;margin-left: 20px;">Rainbow🌈</view>
			</view>
			<image src="../../static/二维码.png" style="width: 50px;height: 50px;margin-right:20px;"></image>
		</view>
		<view class="align">
			<view class="justify">
				<image src="../../static/我的信息.png"></image>
				<view class="font">我的消息</view>
			</view>
			<view class="justify">
				<image src="../../static/商城.png"></image>
				<view class="font">商城</view>
			</view>
			<view class="justify">
				<image src="../../static/设置.png"></image>
				<view class="font">设置</view>
			</view>
			<view class="justify">
				<image src="../../static/定时关闭.png"></image>
				<view class="font">定时关闭</view>
			</view>
			<view class="justify">
				<image src="../../static/我的装扮.png"></image>
				<view class="font">我的装扮</view>
			</view>
			<view class="justify">
				<image src="../../static/安全.png"></image>
				<view class="font">青少年模式</view>
			</view>
			<view class="justify">
				<image src="../../static/我的订单.png"></image>
				<view class="font">我的订单</view>
			</view>
			<view class="justify">
				<image src="../../static/我的客服.png"></image>
				<view class="font">我的客服</view>
			</view>
			<view style="padding-bottom: calc(var(--window-bottom) + 10px);">
				<button type="warn" style="border-radius:25px; font-size: 15px;width: 60%;" @click="gotoHome">退出登录/关闭</button>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods:{
			gotoHome(){
				uni.switchTab({
					url: '../home/home'
				});
			}		
		}
	}
</script>

<style lang="scss">
	.item {
		margin-left:8px;
		margin-top: 8px;
		width:280px;
		display: flex;
		justify-content: center;
		align-items: center;

		image {
			width: 100px;
			height: 100px;
			border-radius: 50%;
			overflow: hidden
		}

		text {
			font-size: 15px;
		}
	}
	.line{
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.font{
		font-size:20px;
		padding: 10px;
	}
	.justify{
		display: flex;
		width: 45%;
		height: 75px;
		// justify-content: center;
		align-items: center;
		margin-left: 10px;
		
		image {
			width: 50px;
			height: 50px;
		}
	}
	.align{
		// border: solid;
		align-items: center;
		margin-top: 5%;
	}
</style>
